Remove useless steps already covered in CI in backend dockerfile

This commit is contained in:
Dominic Grimm 2022-10-31 09:54:38 +01:00
parent 54a6474ab0
commit ba6e0ea5cf
No known key found for this signature in database
GPG key ID: 6F294212DEAAC530

View file

@ -14,11 +14,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
FROM veelenga/ameba:latest
WORKDIR /usr/src/micrate
COPY ./micrate/src ./src
RUN ameba src/ || true
FROM crystallang/crystal:1.6-alpine as micrate-deps
WORKDIR /usr/src/micrate
COPY ./micrate/shard.yml ./micrate/shard.lock ./
@ -36,11 +31,6 @@ WORKDIR /usr/src/public
COPY ./public ./src
RUN minify -r -o ./dist ./src
FROM veelenga/ameba:latest
WORKDIR /usr/src/mentorenwahl
COPY ./src ./src
RUN ameba src/ || true
FROM crystallang/crystal:1.6-alpine as deps
WORKDIR /usr/src/mentorenwahl
COPY ./shard.yml ./shard.lock ./