|
|
|
@ -5,20 +5,14 @@ apk add --no-cache npm python ffmpeg && \
|
|
|
|
|
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
|
|
|
|
atomicparsley
|
|
|
|
|
|
|
|
|
|
# Change directory so that our commands run inside this new directory
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
# Copy dependency definitions
|
|
|
|
|
COPY ./ /app/
|
|
|
|
|
|
|
|
|
|
# Change directory to backend
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
# Install dependencies on backend
|
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
|
|
# Expose the port the app runs in
|
|
|
|
|
EXPOSE 17442
|
|
|
|
|
|
|
|
|
|
# Run the specified command within the container.
|
|
|
|
|
CMD [ "node", "app.js" ]
|
|
|
|
|