🏗️ Sets environment in Docker, and adds recompile watcher to start script
Ensures environment is correctly set to production, and sets build-and-start script to now recompoile when conf.yml is updated
This commit is contained in:
@@ -4,6 +4,7 @@ FROM node:lts-alpine
|
||||
ENV PORT 80
|
||||
ENV DIRECTORY /app
|
||||
ENV IS_DOCKER true
|
||||
ENV NODE_ENV production
|
||||
|
||||
# Create and set the working directory
|
||||
WORKDIR ${DIRECTORY}
|
||||
|
||||
Reference in New Issue
Block a user