Small optimization in Dockerfile

This commit is contained in:
Erik Vroon 2021-08-07 16:35:45 +02:00
parent 1df3eda66f
commit ec5bc2c730
No known key found for this signature in database
GPG Key ID: A6C636DB97ADA081
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
FROM node:lts-alpine
# Define some ENV Vars
ENV PORT 80
ENV DIRECTORY /app
ENV IS_DOCKER true
ENV PORT=80 \
DIRECTORY=/app \
IS_DOCKER=true
# Create and set the working directory
WORKDIR ${DIRECTORY}