mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Switch to spinning up server directly in the docker file
This commit is contained in:
@@ -72,8 +72,4 @@ ENTRYPOINT ["/rails/bin/docker-entrypoint"]
|
||||
|
||||
# Start either web server or job worker based on WORKER env var
|
||||
EXPOSE 80
|
||||
CMD if [ "$WORKER" = "true" ]; then \
|
||||
./bin/jobs start; \
|
||||
else \
|
||||
./bin/thrust ./bin/rails server; \
|
||||
fi
|
||||
CMD ["./bin/thrust", "./bin/rails", "server"]
|
||||
|
||||
Reference in New Issue
Block a user