File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,17 @@ RUN apt-get update && apt-get install -y \
3636 && rm -rf /var/lib/apt/lists/*
3737
3838# Set working directory
39- WORKDIR /usr/src/ app
39+ WORKDIR /app
4040
4141# Copy the compiled binary from the builder stage
42- COPY --from=builder /usr/src/app/target/release/backend /usr/local/bin/backend
42+ COPY --from=builder /usr/src/app/target/release/backend /app/backend
43+
44+ # Copy the restricted filters configuration
45+ COPY --from=builder /usr/src/app/restricted_filters.json /app/restricted_filters.json
4346
4447# Expose WebSocket port
4548EXPOSE 8443
4649
47- # Set entrypoint
48- ENTRYPOINT ["backend"]
50+ # Set entrypoint using absolute path or relative to WORKDIR
51+ ENTRYPOINT ["./ backend"]
4952CMD ["--server-addr", "0.0.0.0:8443"]
50-
You can’t perform that action at this time.
0 commit comments