mirror of https://github.com/xwiki-labs/cryptpad
remove uneeded and duplicated entries
This commit is contained in:
parent
0a9f01ad7f
commit
b72c76fe88
|
@ -1,10 +1,6 @@
|
||||||
# Multistage build to reduce image size and increase security
|
# Multistage build to reduce image size and increase security
|
||||||
FROM node:lts-slim AS build
|
FROM node:lts-slim AS build
|
||||||
|
|
||||||
# Install requirements for dependencies management
|
|
||||||
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -yq git
|
|
||||||
RUN npm install -g bower
|
|
||||||
|
|
||||||
# Create folder for CryptPad
|
# Create folder for CryptPad
|
||||||
RUN mkdir /cryptpad
|
RUN mkdir /cryptpad
|
||||||
WORKDIR /cryptpad
|
WORKDIR /cryptpad
|
||||||
|
@ -54,4 +50,3 @@ EXPOSE 3000 3001
|
||||||
|
|
||||||
# Run cryptpad on startup
|
# Run cryptpad on startup
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue