mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-03-05 13:30:33 -05:00
Reduce COPYs
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,15 +1,13 @@
|
||||
# Use LTS nodejs base image
|
||||
# Use LTS Node.js base image
|
||||
FROM node:14.15.1-alpine
|
||||
|
||||
# video support dependency
|
||||
# Video support dependency
|
||||
RUN apk add ffmpeg
|
||||
|
||||
# install npm dependencies and copy project
|
||||
# Install NPM dependencies and copy the project
|
||||
WORKDIR /teddit
|
||||
COPY package.json /teddit/
|
||||
COPY package-lock.json /teddit/
|
||||
COPY . /teddit/
|
||||
RUN npm install --no-optional
|
||||
COPY config.js.template /teddit/config.js
|
||||
COPY . /teddit/
|
||||
|
||||
CMD npm start
|
||||
|
||||
Reference in New Issue
Block a user