-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (16 loc) · 607 Bytes
/
Dockerfile
File metadata and controls
20 lines (16 loc) · 607 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# ========================================
# = Warning! =
# ========================================
# This is Github Action docker-based image.
# It is not intended for local development!
#
# It can still be used as a raw image for your own containers.
# See `action.yml` in case you want to learn more about Github Actions.
# See it live:
# https://github.com/sobolevn/restrict-cursing-action/actions
FROM node:10-alpine
ENV NODE_PATH="$NODE_PATH:/tmp/cursing"
COPY . /tmp/cursing
WORKDIR /tmp/cursing
RUN npm install --prod
ENTRYPOINT ["node", "/tmp/cursing/lib/main.js"]