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
|
# Remove development dependencies
|
||||||
RUN npm prune --production
|
RUN npm prune --production
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
# Expose port 3000
|
# Expose port 3000
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
@ -8,9 +8,8 @@ services:
|
|||||||
# or build it locally (you need to clone the repo first):
|
# or build it locally (you need to clone the repo first):
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
|
container_name: SimpleLinks
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
|
||||||
NODE_ENV: production
|
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user