You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
404 B
Docker
21 lines
404 B
Docker
5 years ago
|
FROM alpine:3.11
|
||
5 years ago
|
|
||
5 years ago
|
RUN apk add --update npm python ffmpeg
|
||
5 years ago
|
|
||
|
# Change directory so that our commands run inside this new directory
|
||
5 years ago
|
WORKDIR /app
|
||
5 years ago
|
|
||
|
# Copy dependency definitions
|
||
5 years ago
|
COPY ./ /app/
|
||
5 years ago
|
|
||
|
# Change directory to backend
|
||
5 years ago
|
WORKDIR /app
|
||
5 years ago
|
|
||
|
# Install dependencies on backend
|
||
|
RUN npm install
|
||
|
|
||
|
# Expose the port the app runs in
|
||
5 years ago
|
EXPOSE 17442
|
||
5 years ago
|
|
||
|
# Run the specified command within the container.
|
||
5 years ago
|
CMD [ "node", "app.js" ]
|