You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
I request dev to add a CMD command in dockerfile thus making it easier to deploy the docker image on public docker hosts , it's not a requirment but a simply to make things easier and less commands to type 😅 I have tested the below dockerfile and it seems to work without any problems
FROM node:6.9-alpine
# Set the applilcation directory
WORKDIR /app
COPY package.json /app
# Install app dependencies
RUN npm install
# Copy our code from the current folder to /app inside the container
COPY . /app
#CMD
CMD ["node","server/server.js"]
# Make port 3000 available for publish
EXPOSE 3000
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I request dev to add a CMD command in dockerfile thus making it easier to deploy the docker image on public docker hosts , it's not a requirment but a simply to make things easier and less commands to type 😅 I have tested the below dockerfile and it seems to work without any problems
The text was updated successfully, but these errors were encountered: