add container name to docker compose
All checks were successful
Publish Docker Image / docker (push) Successful in 1m23s

This commit is contained in:
Lee 2023-07-12 13:55:48 +01:00
parent e8dae24f97
commit b3be2ee10f
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,9 @@ COPY . .
# Remove development dependencies
RUN npm prune --production
# Environment Variables
ENV NODE_ENV=production
# Expose port 3000
EXPOSE 3000

View File

@ -8,9 +8,8 @@ services:
# or build it locally (you need to clone the repo first):
# build:
# context: .
container_name: SimpleLinks
restart: always
environment:
NODE_ENV: production
ports:
- 3000:3000
volumes: