generated from Fascinated/nextjs-13-template-with-tailwindcss
add container name to docker compose
All checks were successful
Publish Docker Image / docker (push) Successful in 1m23s
All checks were successful
Publish Docker Image / docker (push) Successful in 1m23s
This commit is contained in:
parent
e8dae24f97
commit
b3be2ee10f
@ -17,6 +17,9 @@ COPY . .
|
||||
# Remove development dependencies
|
||||
RUN npm prune --production
|
||||
|
||||
# Environment Variables
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# Expose port 3000
|
||||
EXPOSE 3000
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user