Skip to content

Commit 6386fab

Browse files
Update Dockerfile and add Alpine-based (#320)
* Create Alpine Linux Dockerfile * Update Dockerfile * Update Dockerfile.alpine
1 parent 00a96ab commit 6386fab

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nimlang/nim:1.2.6-ubuntu
1+
FROM nimlang/nim:1.6.4-ubuntu
22

33
RUN apt-get update -yqq \
44
&& apt-get install -y --no-install-recommends \

docker/Dockerfile.alpine

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM nimlang/nim:1.6.4-alpine
2+
3+
RUN apk --no-cache add libsass-dev sqlite3 libsass
4+
5+
WORKDIR /app
6+
COPY . /app
7+
8+
# install dependencies
9+
RUN nimble install -Y

0 commit comments

Comments
 (0)