Skip to content

Commit 1314bbc

Browse files
enhancement(lint): Fix lint errors for Dockerfile
Co-authored-by: NeonGamerBot-QK <[email protected]> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
1 parent b2026c3 commit 1314bbc

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Dockerfile

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM node:20
2-
# Create app directory
3-
WORKDIR /app
4-
# Install app dependencies
5-
# A wildcard is used to ensure both package.json AND package-lock.json are copied
6-
# where available (npm@5+)
7-
COPY package*.json /app
8-
LABEL org.opencontainers.image.source https://github.com/NeonGamerBot-QK/crc
9-
# RUN npm install
10-
# If you are building your code for production
11-
RUN npm ci --omit=dev
12-
COPY . /app
13-
EXPOSE 3000
14-
RUN npm run build
15-
CMD [ "npm", "start" ]
1+
FROM node:20
2+
# Create app directory
3+
WORKDIR /app
4+
# Install app dependencies
5+
# A wildcard is used to ensure both package.json AND package-lock.json are copied
6+
# where available (npm@5+)
7+
COPY package*.json /app
8+
LABEL org.opencontainers.image.source https://github.com/NeonGamerBot-QK/crc
9+
# RUN npm install
10+
# If you are building your code for production
11+
RUN npm ci --omit=dev
12+
COPY . /app
13+
EXPOSE 3000
14+
RUN npm run build
15+
CMD [ "npm", "start" ]

0 commit comments

Comments
 (0)